#!/bin/bash
# Compile all modules
echo "Starting Java Last War project compilation..."
mvn clean package -DskipTests
if [ $? -eq 0 ]; then
    echo "Compilation successful!"
else
    echo "Compilation failed!"
    exit 1
fi